package com.printeverywhere.dto;

import java.util.Date;

import com.printeverywhere.util.StrutsFilterDispacher;

/**
 * UserFavoritesSearch entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class UserFavoritesSearch implements java.io.Serializable {

	// Fields

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;
	private Integer categoryId=0;
	private Items items;
	private User user;

	private Integer regionId=0;
	private Integer priceFrom;
	private Integer priceTo;
	private Integer buyTo;
	private Integer buyFrom;
	//private Itemtype type=new Itemtype(1);
	private String language;
	private String location;
	private Date date;
	private Integer mailStatus;
	private String title;
	private String name;
	private Date enterDate;
	private Integer mailPeriod;
	private String note;

	private Integer languageId;
	private String sortBy;
	private String seller;
	private String bidder;
	private Integer quantity;
	private Integer currencyId;

	// Constructors

	/** default constructor */
	public UserFavoritesSearch() {
	}

	/** minimal constructor */
	public UserFavoritesSearch(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public UserFavoritesSearch(Integer id, Integer categoryId,
			Items items, User user, Integer regionId, Integer priceFrom,
			Integer priceTo, Integer buyTo, Integer buyFrom, Itemtype type,
			String language, String currency, String location, Date date,
			Integer mailStatus, String title, String name, Date enterDate,
			Integer mailPeriod, String note) {
		this.id = id;
		this.categoryId = categoryId;
		this.items = items;
		this.user = user;
		this.regionId = regionId;
		this.priceFrom = priceFrom;
		this.priceTo = priceTo;
		this.buyTo = buyTo;
		this.buyFrom = buyFrom;
		this.language = language;

		this.location = location;
		this.date = date;
		this.mailStatus = mailStatus;
		this.title = title;
		this.name = name;
		this.enterDate = enterDate;
		this.mailPeriod = mailPeriod;
		this.note = note;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	/*public GeneralCategories getGeneralCategories() {
		return StrutsFilterDispacher.getGeneralCategories(categoryId);
	}*/

	public Items getItems() {
		return this.items;
	}

	public void setItems(Items items) {
		this.items = items;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getRegionId() {
		return this.regionId;
	}

	public void setRegionId(Integer regionId) {
		this.regionId = regionId;
	}

	public Integer getPriceFrom() {
		return this.priceFrom;
	}

	public void setPriceFrom(Integer priceFrom) {
		this.priceFrom = priceFrom;
	}

	public Integer getPriceTo() {
		return this.priceTo;
	}

	public void setPriceTo(Integer priceTo) {
		this.priceTo = priceTo;
	}

	public Integer getBuyTo() {
		return this.buyTo;
	}

	public void setBuyTo(Integer buyTo) {
		this.buyTo = buyTo;
	}

	public Integer getBuyFrom() {
		return this.buyFrom;
	}

	public void setBuyFrom(Integer buyFrom) {
		this.buyFrom = buyFrom;
	}

	/*public Itemtype getType() {
		return this.type;
	}

	public void setType(Itemtype type) {
		this.type = type;
	}*/

	public String getLanguage() {
		return this.language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}


	public String getLocation() {
		return this.location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getMailStatus() {
		return this.mailStatus;
	}

	public void setMailStatus(Integer mailStatus) {
		this.mailStatus = mailStatus;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getEnterDate() {
		return this.enterDate;
	}

	public void setEnterDate(Date enterDate) {
		this.enterDate = enterDate;
	}

	public Integer getMailPeriod() {
		return this.mailPeriod;
	}

	public void setMailPeriod(Integer mailPeriod) {
		this.mailPeriod = mailPeriod;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	/**
	 * @return the categoryId
	 */
	public Integer getCategoryId() {
		return categoryId;
	}

	/**
	 * @param categoryId the categoryId to set
	 */
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	/**
	 * @return the seller
	 */
	public String getSeller() {
		return seller;
	}

	/**
	 * @param seller the seller to set
	 */
	public void setSeller(String seller) {
		this.seller = seller;
	}

	/**
	 * @return the bidder
	 */
	public String getBidder() {
		return bidder;
	}

	/**
	 * @param bidder the bidder to set
	 */
	public void setBidder(String bidder) {
		this.bidder = bidder;
	}

	/**
	 * @return the languageId
	 */
	public Integer getLanguageId() {
		return languageId;
	}

	/**
	 * @param languageId the languageId to set
	 */
	public void setLanguageId(Integer languageId) {
		this.languageId = languageId;
	}

	/**
	 * @return the sortBy
	 */
	public String getSortBy() {
		return sortBy;
	}

	/**
	 * @param sortBy the sortBy to set
	 */
	public void setSortBy(String sortBy) {
		this.sortBy = sortBy;
	}

	/**
	 * @return the quantity
	 */
	public Integer getQuantity() {
		return quantity;
	}

	/**
	 * @param quantity the quantity to set
	 */
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	/**
	 * @return the currencyId
	 */
	public Integer getCurrencyId() {
		return currencyId;
	}

	/**
	 * @param currencyId the currencyId to set
	 */
	public void setCurrencyId(Integer currencyId) {
		this.currencyId = currencyId;
	}

}